package com.gues.ddc_app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huHang
 * @since 2023-02-12
 */
@Data
public class User implements Serializable {

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userImg='" + userImg + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", address='" + address + '\'' +
                ", userPhone='" + userPhone + '\'' +
                '}';
    }

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户名
     */
    private String userName;
    private String userImg;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 用户地址
     */
    private String address;

    /**
     * 用户电话
     */
    private String userPhone;

}
